import React from "react";

type Props = {};

const App = (props: Props) => {
  const difference: number = 1000;
  function app(num: number) {
    console.log("difference变量", num);
  }
  app(difference);
  const arr = [3, 6, 2, 1];
  console.log(
    arr.sort((a, b) => a - b),
    "排序",
  );

  return <div>App43332</div>;
};

export default App;
